package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperConfigCustomerExt implements Serializable {
    /**
     * 客户ID
     */
    private Integer cid;

    /**
     * 部门名称
     */
    private String department;

    /**
     * 地址
     */
    private String addr;

    /**
     * 联系人
     */
    private String contact;

    /**
     * 职位
     */
    private String post;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 及???通???帐号
     */
    private String otherinfo;

    /**
     * 客户负责人
     */
    private String cperson;

    private Date indate;

    private Date modifTime;

    private String inauthor;

    private String upauthor;

    /**
     * 联系电话
     */
    private String phone1;

    /**
     * 联系电话
     */
    private String phone2;

    /**
     * 价格类型；(0--标准；1-协商）
     */
    private Integer priceType;

    /**
     * 部门ID;自增长ID
     */
    private Integer pid;

    /**
     * 0--已删除，1--未删除
     */
    private Integer isDel;

    /**
     * 名片路径
     */
    private String cardpath;

    /**
     * 默认联系人地址id
     */
    private Integer addrId;

    /**
     * 客户在网站登录用户名
     */
    private String username;

    /**
     * 客户联系人id串，以"|"分割
     */
    private String addrIdStr;

    private static final long serialVersionUID = 1L;

    /**
     * 客户ID
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 客户ID
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 部门名称
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 部门名称
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * 地址
     */
    public String getAddr() {
        return addr;
    }

    /**
     * 地址
     */
    public void setAddr(String addr) {
        this.addr = addr;
    }

    /**
     * 联系人
     */
    public String getContact() {
        return contact;
    }

    /**
     * 联系人
     */
    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 职位
     */
    public String getPost() {
        return post;
    }

    /**
     * 职位
     */
    public void setPost(String post) {
        this.post = post;
    }

    /**
     * 联系电话
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 联系电话
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 邮箱
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 及???通???帐号
     */
    public String getOtherinfo() {
        return otherinfo;
    }

    /**
     * 及???通???帐号
     */
    public void setOtherinfo(String otherinfo) {
        this.otherinfo = otherinfo;
    }

    /**
     * 客户负责人
     */
    public String getCperson() {
        return cperson;
    }

    /**
     * 客户负责人
     */
    public void setCperson(String cperson) {
        this.cperson = cperson;
    }

    public Date getIndate() {
        return indate;
    }

    public void setIndate(Date indate) {
        this.indate = indate;
    }

    public Date getModifTime() {
        return modifTime;
    }

    public void setModifTime(Date modifTime) {
        this.modifTime = modifTime;
    }

    public String getInauthor() {
        return inauthor;
    }

    public void setInauthor(String inauthor) {
        this.inauthor = inauthor;
    }

    public String getUpauthor() {
        return upauthor;
    }

    public void setUpauthor(String upauthor) {
        this.upauthor = upauthor;
    }

    /**
     * 联系电话
     */
    public String getPhone1() {
        return phone1;
    }

    /**
     * 联系电话
     */
    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    /**
     * 联系电话
     */
    public String getPhone2() {
        return phone2;
    }

    /**
     * 联系电话
     */
    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }

    /**
     * 价格类型；(0--标准；1-协商）
     */
    public Integer getPriceType() {
        return priceType;
    }

    /**
     * 价格类型；(0--标准；1-协商）
     */
    public void setPriceType(Integer priceType) {
        this.priceType = priceType;
    }

    /**
     * 部门ID;自增长ID
     */
    public Integer getPid() {
        return pid;
    }

    /**
     * 部门ID;自增长ID
     */
    public void setPid(Integer pid) {
        this.pid = pid;
    }

    /**
     * 0--已删除，1--未删除
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 0--已删除，1--未删除
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 名片路径
     */
    public String getCardpath() {
        return cardpath;
    }

    /**
     * 名片路径
     */
    public void setCardpath(String cardpath) {
        this.cardpath = cardpath;
    }

    /**
     * 默认联系人地址id
     */
    public Integer getAddrId() {
        return addrId;
    }

    /**
     * 默认联系人地址id
     */
    public void setAddrId(Integer addrId) {
        this.addrId = addrId;
    }

    /**
     * 客户在网站登录用户名
     */
    public String getUsername() {
        return username;
    }

    /**
     * 客户在网站登录用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 客户联系人id串，以"|"分割
     */
    public String getAddrIdStr() {
        return addrIdStr;
    }

    /**
     * 客户联系人id串，以"|"分割
     */
    public void setAddrIdStr(String addrIdStr) {
        this.addrIdStr = addrIdStr;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cid=").append(cid);
        sb.append(", department=").append(department);
        sb.append(", addr=").append(addr);
        sb.append(", contact=").append(contact);
        sb.append(", post=").append(post);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", otherinfo=").append(otherinfo);
        sb.append(", cperson=").append(cperson);
        sb.append(", indate=").append(indate);
        sb.append(", modifTime=").append(modifTime);
        sb.append(", inauthor=").append(inauthor);
        sb.append(", upauthor=").append(upauthor);
        sb.append(", phone1=").append(phone1);
        sb.append(", phone2=").append(phone2);
        sb.append(", priceType=").append(priceType);
        sb.append(", pid=").append(pid);
        sb.append(", isDel=").append(isDel);
        sb.append(", cardpath=").append(cardpath);
        sb.append(", addrId=").append(addrId);
        sb.append(", username=").append(username);
        sb.append(", addrIdStr=").append(addrIdStr);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperConfigCustomerExt other = (SuperConfigCustomerExt) that;
        return (this.getCid() == null ? other.getCid() == null : this.getCid().equals(other.getCid()))
            && (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()))
            && (this.getAddr() == null ? other.getAddr() == null : this.getAddr().equals(other.getAddr()))
            && (this.getContact() == null ? other.getContact() == null : this.getContact().equals(other.getContact()))
            && (this.getPost() == null ? other.getPost() == null : this.getPost().equals(other.getPost()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getOtherinfo() == null ? other.getOtherinfo() == null : this.getOtherinfo().equals(other.getOtherinfo()))
            && (this.getCperson() == null ? other.getCperson() == null : this.getCperson().equals(other.getCperson()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getModifTime() == null ? other.getModifTime() == null : this.getModifTime().equals(other.getModifTime()))
            && (this.getInauthor() == null ? other.getInauthor() == null : this.getInauthor().equals(other.getInauthor()))
            && (this.getUpauthor() == null ? other.getUpauthor() == null : this.getUpauthor().equals(other.getUpauthor()))
            && (this.getPhone1() == null ? other.getPhone1() == null : this.getPhone1().equals(other.getPhone1()))
            && (this.getPhone2() == null ? other.getPhone2() == null : this.getPhone2().equals(other.getPhone2()))
            && (this.getPriceType() == null ? other.getPriceType() == null : this.getPriceType().equals(other.getPriceType()))
            && (this.getPid() == null ? other.getPid() == null : this.getPid().equals(other.getPid()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getCardpath() == null ? other.getCardpath() == null : this.getCardpath().equals(other.getCardpath()))
            && (this.getAddrId() == null ? other.getAddrId() == null : this.getAddrId().equals(other.getAddrId()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getAddrIdStr() == null ? other.getAddrIdStr() == null : this.getAddrIdStr().equals(other.getAddrIdStr()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCid() == null) ? 0 : getCid().hashCode());
        result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
        result = prime * result + ((getAddr() == null) ? 0 : getAddr().hashCode());
        result = prime * result + ((getContact() == null) ? 0 : getContact().hashCode());
        result = prime * result + ((getPost() == null) ? 0 : getPost().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getOtherinfo() == null) ? 0 : getOtherinfo().hashCode());
        result = prime * result + ((getCperson() == null) ? 0 : getCperson().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getModifTime() == null) ? 0 : getModifTime().hashCode());
        result = prime * result + ((getInauthor() == null) ? 0 : getInauthor().hashCode());
        result = prime * result + ((getUpauthor() == null) ? 0 : getUpauthor().hashCode());
        result = prime * result + ((getPhone1() == null) ? 0 : getPhone1().hashCode());
        result = prime * result + ((getPhone2() == null) ? 0 : getPhone2().hashCode());
        result = prime * result + ((getPriceType() == null) ? 0 : getPriceType().hashCode());
        result = prime * result + ((getPid() == null) ? 0 : getPid().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getCardpath() == null) ? 0 : getCardpath().hashCode());
        result = prime * result + ((getAddrId() == null) ? 0 : getAddrId().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getAddrIdStr() == null) ? 0 : getAddrIdStr().hashCode());
        return result;
    }
}